-- msg_sign_in
-- Create by chendh
-- 签到奖励

return function(lpc)
    local bonusList = {};

    local bonusData = lpc.bonus;

    for i, v in ipairs(bonusData) do
        if v[1] ~= 3 then
            table.insert(bonusList, v);
        end
    end

    if #bonusList > 0 then
        showBonusNotifyForm(getLocStr("sign_in_bonus"), bonusList);
    end

    EventMgr.fire(event.SIGN_IN_BONUS, bonusList);
end
